//
//  DYVideoScanManager.h
//  PrivatePhoto
//
//  Created by PrivatePhoto Team on 2021.
//  Copyright © 2021年 PrivatePhoto Team. All rights reserved.6.
//

#import <Foundation/Foundation.h>
#import <Photos/Photos.h>
@protocol CAVideoScanManagerDelegate<NSObject>
@optional
/// 相册变动代理方法
- (void)clearAlaumLibraryDidChange;
@end

@interface DYVideoScanManager : NSObject


//+ (DYVideoScanManager *)shareManager;

/// 代理
@property (nonatomic, weak) id<CAVideoScanManagerDelegate> delegate;

/// 变更状态
@property (nonatomic, assign) CAPhotoNotificationStatus notificationStatus;

@property (nonatomic, strong) NSMutableArray *videoArr;
@property (nonatomic, strong) NSDictionary *videoInfo;

@property (nonatomic, assign) double totalSpace;

- (void)resetTagData;
/// 加载
- (void)loadVideosWithProcess:(void (^)(NSInteger current, NSInteger total))process
           completionHandler:(void (^)(BOOL success, NSError *error))completion;

@end


